<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); ?>

<div id="center-wrap" class="ui-corner-tl ui-corner-tr">
	<div id="navigation" class="ui-corner-all"><ul><?php echo $navigator;?></ul></div>
	
	<div class="clrboth"></div>
	
<form action="<?php echo site_url('buyer/my_account/submit_password');?>" name="submit_password" id="submit_password" method="post" enctype="multipart/form-data" >
	
	<div class="row">
		<div class="column grid_9">
			<p class="bold"> &raquo; Change password:</p>
		</div>
		<div class="clrboth"></div>
		<div class="column grid_9">
			<div class="column grid_2"><span class="red">*</span>Current password:</div>
			<div class="column grid_4">
				<input type="password" maxlength="100" name="current_password" id="current_password" value="" class="inputText" />
				<input type="hidden" name="current_password_md5" id="current_password_md5" value="<?php echo md5($items->getPasswd());?>">
			</div>
			<div class="column grid_3 hidden" id="current_password_error">
				<span class="red">Current password is not correct.</span>
				<br/> (Only type, do not copy and paste.)
			</div>
			
			<div class="clrboth"></div>
			
			<div class="column grid_2"><span class="red">*</span>New password:</div>
			<div class="column grid_4">
				<input type="password" maxlength="100" name="new_password" id="new_password" value="" class="inputText" />
			</div>
			<div class="column grid_3 hidden" id="new_password_error">
				<span class="red">Please fill new password.</span>
			</div>
			
			<div class="clrboth"></div>
			<br/>
			<div class="column grid_2">
				&nbsp;
			</div>
			<div class="column grid_2">
				<input type="submit"  id="button_submit_password" name="button_submit_password" value="Submit" class="ui-corner-all button-yellow" />
				&nbsp;&nbsp;&nbsp;
				<?php echo loader_image(" class='hidden' id='loader' ");?>
			</div>
			
			<div class="clrboth"></div>
		</div>
	</div>
	
</form>	
</div>
<div class="clrboth"></div>


